<% for column in Child.content_columns %>
<p>
  <b><%= column.human_name %>:</b> 
  <% if column.human_name == "Picture url" %>
   <img src="<%=h @child.send(column.name) %>" />
  <% else %>
   <%=h @child.send(column.name) %>
  <% end %>
</p>
<% end %>

<%= link_to 'Edit', :action => 'edit', :id => @child %> |
<%= link_to 'Back', :action => 'list' %>
